Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / .github / instructions / android-source-set.instructions.md

Displaying Rendered • View rawDownload

.github/instructions/android-source-set.instructions.md d81a91a9da2de5f84a7b99a05233f434cc54a3dd (d81a91a9) Text, 552 B

applyTo: "/androidMain//*.kt"

Android Source-Set Rules

• This is T383838androidMain — Android framework imports (T383838android.*, T383838java.*) are allowed here.
• Do NOT put business logic here. Business logic belongs in T383838commonMain.
• If you find identical pure-Kotlin logic in both T383838androidMain and T383838jvmMain, extract it to T383838commonMain.
• Use T383838expect/T383838actual only for small platform primitives. Prefer interfaces + DI.
• Keep T383838expect declarations in T383838FileIo.kt and shared helpers in T383838FileIoUtils.kt to avoid JVM duplicate class errors.

Served by rngit 1.5.4 - Generated in 0.02s